package com.ruoyi.project.channel.channelScoreSetting.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 跑分配置表 channel_score_setting
 * 
 * @author CAIN
 * @date 2019-10-21
 */
public class ChannelScoreSetting extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long scoreId;
	/** 一级代理费率 */
	private BigDecimal rate;
	/** 代理抽层费率 */
	private BigDecimal agentRate;

	public void setScoreId(Long scoreId) 
	{
		this.scoreId = scoreId;
	}

	public Long getScoreId() 
	{
		return scoreId;
	}
	public void setRate(BigDecimal rate) 
	{
		this.rate = rate;
	}

	public BigDecimal getRate() 
	{
		return rate;
	}
	public void setAgentRate(BigDecimal agentRate) 
	{
		this.agentRate = agentRate;
	}

	public BigDecimal getAgentRate() 
	{
		return agentRate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scoreId", getScoreId())
            .append("rate", getRate())
            .append("agentRate", getAgentRate())
            .toString();
    }
}
